(function (angrlar) {
    angrlar.module('app').controller('navController',['$scope',function ($scope) {
        $scope.navtitle = '首页';
        $scope.$on('navtitle',function (e,args) {
           $scope.navtitle = args.navtitle;
        })

    }])

})(angular);
